<table width="100%">
	<tr>
		<td width="15%"><?php echo CHtml::image(Yii::app()->request->baseUrl.'/images/logo.png'); ?></td>
		<td width="85%">
		<h4><strong>PT. ANUGERAH BERSAMA BERKAH ABADI</strong></h4>
		<h4><strong>BANK BOOK</strong></h4>
		<h4><strong> <?php echo MstCoa::model()->FindByPk($bank)->name." Periode ". $month." ".$tahun; ?></strong></h4>
		</td>
	</tr>
</table>
<table border="0">
    
    
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
   </tr>
</table>
<table  border="1">
  <tr>
    <td  align="center"><strong>Tanggal</strong></td>
    <td  align="center"><strong>No Dokumen</strong></td>
    <td  align="center"><strong>No Akun </strong></td>
    <td  align="center"><strong>Nama Akun </strong></td>
    <td  align="center"><strong>Kredit</strong></td>
    <td  align="center"><strong>Tanda Tangan</strong></td>
  </tr>
  <?php 
  $mata_uang = "";
  foreach($data as $row){
  ?>
  <tr>
    <td valign="top"><?php echo $row['tgl_transaksi']; ?></td>
    <td valign="top"><?php echo $row['nota_note']; ?></td>
    <td valign="top"><?php echo $row['code']; ?></td>
    <td valign="top"><?php echo $row['name']; ?></td>
    <td valign="top"><?php echo $row['credit']; ?></td>
    <td valign="top">&nbsp;</td>
   </tr>


   <?php
	}	
   ?>
</table>